package com.hyc.model;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
	
 
	private static final long serialVersionUID = 1L;
	/**主键id*/
	private Long id;
	/**登录名*/
	private String loginName;
	/**用户名*/
	private String name;
	/**密码*/
	private String password;
	/**密码加盐*/
	private String salt;
	/** 性别 */
	private Integer sex;
	/**年龄*/
	private Integer age;
	/**用户类别*/
	private Integer userType;
	/**手机号*/
	private String phone;
	/**用户状态*/
	private Integer status;
	/**所属机构*/
	private Integer organizationId;
	/**创建时间*/
	private Date createTime;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getUserType() {
		return userType;
	}
	public void setUserType(Integer userType) {
		this.userType = userType;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getOrganizationId() {
		return organizationId;
	}
	public void setOrganizationId(Integer organizationId) {
		this.organizationId = organizationId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", loginName=" + loginName + ", name=" + name + ", password=" + password + ", salt="
				+ salt + ", sex=" + sex + ", age=" + age + ", userType=" + userType + ", phone=" + phone + ", status="
				+ status + ", organizationId=" + organizationId + ", createTime=" + createTime + "]";
	}
	
	
	
}
